
<extend name="Index/index" />

<block name="main">

	<div class="row">
		<div class="col-md-12">
			<form action="<{:U('Session/update',array('id'=>$list['id']))}>" method='post' class="form-horizontal">

				<div class="form-group">
					<label for="" class="col-sm-2 control-label">影院名 ：</label>
					<div class="col-sm-4">
						<input type="text" name="name" value="<{$list.name}>" class="form-control" placeholder="请输入影院名">
					</div>
				</div>
				<div class="form-group">
					<label for="" class="col-sm-2 control-label">影厅名 : </label>
					<div class="col-sm-4">
						<input  type="text" name="hall" value="<{$list.hall}>" class="form-control" placeholder="请输入影厅名">
					</div>
				</div>
				<div class="form-group">
					<label for="" class="col-sm-2 control-label">电影名 ：</label>
					<div class="col-sm-4">
						<input type="text" name="mname" value="<{$list.mname}>" class="form-control" placeholder="请输入电影名">
					</div>
				</div>
				<div class="form-group">
					<label class="col-sm-2 control-label">开始时间</label>
					<div class="col-sm-4">
						<input type="text" name="starttime" class="some_class" value="<{$list.starttime|date='Y/m/d H:i',###}>" id="datetimepicker"/>
						
					</div>
				</div>
				<div class="form-group">
					<label class="col-sm-2 control-label">结束时间</label>
					<div class="col-sm-4">
						<input type="text" name="endtime" class="some_class" value="<{$list.endtime|date='Y/m/d H:i',###}>" id="datetimepicker1"/>
						
					</div>
				</div>
				<div class="form-group" style="">
					<label for="" class="col-sm-2 control-label">价格 ：</label>
					<div class="col-sm-4">
						<input type="text" name="price" value="<{$list.price}>" class="form-control" placeholder="请输入票价">
					</div>
				</div>
				<div class="form-group" style="">
					<label for="" class="col-sm-2 control-label">库存 ：</label>
					<div class="col-sm-4">
						<input type="text" name="num" value="<{$list.num}>" class="form-control" placeholder="不得大于影厅座位数">
					</div>
				</div>
				<div class="form-group">
				    <div class="col-sm-offset-2 col-sm-4">
				      <button type="submit" class="btn btn-default">添 加</button>
				    </div>
				</div>
		
			</form>
		</div>
	</div>
	<script src="__PUBLIC__/datetimepicker/jquery.js"></script>
	<script src="__PUBLIC__/datetimepicker/build/jquery.datetimepicker.full.js"></script>
	<script>
		$.datetimepicker.setLocale('ch');
		$('#datetimepicker').datetimepicker();
		$('#datetimepicker').datetimepicker({lang:'ch'});
		$('#datetimepicker1').datetimepicker();
		$('#datetimepicker1').datetimepicker({lang:'ch'});
	</script>
</block>